home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 January / PCWorld_2002-01_cd.bin / Novinky / Becher / 1. Zlaty Kalich / ZlatyKalich.exe / scripts / DefineButton2_1808 / BUTTONCONDACTION on(release).as next >
Text File  |  2001-11-12  |  668b  |  33 lines

  1. on(release){
  2.    if(_root.poz == "c")
  3.    {
  4.       _root.pepa.gotoAndPlay("cb");
  5.    }
  6.    else if(_root.poz == "b")
  7.    {
  8.       if(_root.draglej == 0)
  9.       {
  10.          if(_root.izvuk == 1)
  11.          {
  12.             _root.loadzvuk.gotoAndPlay("salesmantalk_talk");
  13.          }
  14.          else
  15.          {
  16.             _root.salesmantalk.gotoAndPlay("talk");
  17.          }
  18.       }
  19.       else
  20.       {
  21.          _root.stopdragall();
  22.          if(_root.izvuk == 1)
  23.          {
  24.             _root.loadzvuk.gotoAndPlay("salesmantalk_tonechci");
  25.          }
  26.          else
  27.          {
  28.             _root.salesmantalk.gotoAndPlay("tonechci");
  29.          }
  30.       }
  31.    }
  32. }
  33.